API Documentation
Static Public Member Functions | List of all members
nkWinUi::Notificator Class Referencefinal

Gather notification and popup related functions. More...

Static Public Member Functions

static void popup (const NotificationPositionDescriptor &positionInfo, const PopupYesNoDescriptor &descriptor)
 
static void popup (const NotificationPositionDescriptor &positionInfo, const PopupCustomDescriptor &descriptor)
 

Detailed Description

Gather notification and popup related functions.

Using the methods in this class, it is possible to issue notifications and popups.

Member Function Documentation

◆ popup() [1/2]

static void nkWinUi::Notificator::popup ( const NotificationPositionDescriptor positionInfo,
const PopupYesNoDescriptor descriptor 
)
static

Makes a yes / no popup pop on screen. The function is synchronous and will return after the popup disappears, either through cancelling or accepting.

Parameters
positionInfoThe description of the position required for the popup.
descriptorThe description of the behaviour of the popup.

◆ popup() [2/2]

static void nkWinUi::Notificator::popup ( const NotificationPositionDescriptor positionInfo,
const PopupCustomDescriptor descriptor 
)
static

Makes a popup with a custom interface pop on screen. The function is synchronous and will return after the popup disappears, either through cancelling or accepting. The popup will disappear if :

  • The close on click outside flag is on, and the user clicks outside the popup
  • The contained interface unloads or hides itself
Parameters
positionInfoThe description of the position required for the popup.
descriptorThe description of the behaviour of the popup.

The documentation for this class was generated from the following file: